<template>
  <nf-find
    :findValue="findValue"
    :findArray="findArray"
    :active="active"
    :moduleId="moduleId"
    v-bind="findMeta"
  >
  </nf-find>
</template>


<script>
  import { reactive, watch, onMounted, nextTick } from 'vue'
  import { createDataList, createModel, lifecycle } from '/nf-ui-core'
  import { logTime } from '@naturefw/nf-tool'
  import _findMeta from '../../find/find.json'

</script>

<script setup>
  lifecycle('查询', true)

  const props = defineProps({
    moduleId: Number,
    active: Object
  })

  // 获取表单控件需要的meta
  const findMeta = reactive(_findMeta)
  // 改为插槽
  // formMeta.itemMeta[101].controlType = 1

  // 根据 meta 创建表单的 model
  const findValue = reactive({})
  const findArray = reactive([])

</script>